/*
 * @Description: 
 * @Author: linzejian
 * @Date: 2021-08-19 13:47:03
 * @LastEditTime: 2021-08-19 15:24:12
 * @LastEditors: Please set LastEditors
 */
import React from 'react'
import { BrowserRouter as Router, Route, Redirect } from 'react-router-dom'
import AppLogin from '../AppLogin'
import App from '../App'


class RouteMap extends React.Component {
    render() {
        return (
             <Router>
                <Redirect from="/" to="/AppLogin" />
                <Route path='/' component={AppLogin}>
                    <Route path='/AppLogin' component={AppLogin}>
                    </Route>
                    <Route path='/App' component={App}/>
                </Route>
            </Router>
        )
    }
}

export default RouteMap